﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Order_ReturnDoc" Codebehind="ReturnDoc.aspx.cs" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="../Controls/BUTTONDJLIST.ascx" TagName="BUTTONDJLIST" TagPrefix="uc4" %>
<%@ Register Src="../Controls/RETURNDOCListControl.ascx" TagName="RETURNDOCListControl"
    TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script type="text/javascript" src="../Include/Js/SocanCode.js"></script>
        <script type="text/javascript" src="../Include/Js/PopupCalendar.js"></script>
      <script type="text/javascript" src="../Include/Js/OpenWindow.js"></script>
        <script type="text/javascript">
       function setVIPValue(p)
       {debugger;
            var gk=p.split("|");
            document.getElementById("TextBox2").innerText=gk[0];
            document.getElementById("hdGKMC").value=gk[2];
       }       
        function KeyUp() 
     {  

      if (event.keyCode == 13)
       {
           event.returnValue=false;
           document.getElementById("Button1").click();
        }  
    } 
//    function ulred(path)
//    {
//        var retValue=window.showModalDialog("../DialogBoxHostFrame.aspx?url=Order/SelectGldd.aspx?",window,"status:off;center=yes;edge:raised;dialogHeight:525px;dialogWidth:530px;help:0;resizable:0;scrollbar=0");
//        if (retValue!="" && retValue!=undefined)
//        {
//            document.getElementById ("TextBox5").value=retValue;
//        }
//    }  
        </script>    
</head>
<body onkeydown="KeyUp()">
    <form id="form1" runat="server">
<div align="Justify">
    <h2>退货单列表</h2>
    <div class="menu_bg"><uc4:BUTTONDJLIST ID="BUTTONDJLIST1" runat="server" /></div>
    
        <div class="menu_bg" visible="true" >退货单编号：<asp:TextBox ID="TextBox1" runat="server" Width="100px"></asp:TextBox>
        会员帐号：<asp:TextBox ID="TextBox2" runat="server" Width="100px" ></asp:TextBox>
        <asp:HiddenField ID="hdGKMC" runat="server" />
        订单来源：<asp:DropDownList ID="DropDownList1" Width="106px" runat="server"></asp:DropDownList>
        审核：<asp:DropDownList ID="CheckBox1" runat="server">
        <asp:ListItem Text="全部" Value="-1" Selected="true"></asp:ListItem>
        <asp:ListItem Text="否" Value="0"></asp:ListItem>
        <asp:ListItem Text="是" Value="1"></asp:ListItem>
        </asp:DropDownList> 
        结算：<asp:DropDownList ID="CheckBox2" runat="server">
        <asp:ListItem Text="全部" Value="-1" Selected="true"></asp:ListItem>
        <asp:ListItem Text="否" Value="0"></asp:ListItem>
        <asp:ListItem Text="是" Value="1"></asp:ListItem>
        </asp:DropDownList> 
                作废：<asp:DropDownList ID="CheckBox3" runat="server">
        <asp:ListItem Text="全部" Value="-1" Selected="true"></asp:ListItem>
        <asp:ListItem Text="否" Value="0"></asp:ListItem>
        <asp:ListItem Text="是" Value="1"></asp:ListItem>
        </asp:DropDownList>
        <br /><br />        
        制单日期：<asp:TextBox ID="TextBox3" runat="server" Width="100px" OnClick="getDateString(this,oCalendarChs)"></asp:TextBox>至<asp:TextBox ID="TextBox4" runat="server" Width="100px" OnClick="getDateString(this,oCalendarChs)"></asp:TextBox>
        审核日期：<asp:TextBox ID="TextBox6" runat="server" Width="100px" OnClick="getDateString(this,oCalendarChs)"></asp:TextBox>至<asp:TextBox ID="TextBox7" runat="server" Width="100px" OnClick="getDateString(this,oCalendarChs)"></asp:TextBox>
        财务审核日期：<asp:TextBox ID="TextBox8" runat="server" Width="100px" OnClick="getDateString(this,oCalendarChs)"></asp:TextBox>至<asp:TextBox ID="TextBox9" runat="server" Width="100px" OnClick="getDateString(this,oCalendarChs)"></asp:TextBox>
        <br /><br />
                退货原因：<asp:DropDownList ID="dropReason" runat="server">
            </asp:DropDownList>
                责任人：<asp:DropDownList ID="dropDuty" runat="server">
            </asp:DropDownList>
            &nbsp;关联单据：<asp:TextBox ID="TextBox5" runat="server" Width="134px"></asp:TextBox>
            &nbsp;


        <asp:Button ID="Button1" runat="server" Text="查找" CssClass="input_button" OnClick="Button1_Click" /></div><br />                       
        <div class="juli">
            <uc1:RETURNDOCListControl ID="RETURNDOCListControl1" runat="server" /></div>
            <div class="juli"><webdiyer:aspnetpager id="AspNetPager1" 
        runat="server"
        PageSize="20" 
       NumericButtonCount="8" 
       ShowCustomInfoSection="left" 
       PagingButtonSpacing="0"
       ShowInputBox="always" 
       HorizontalAlign="Center" 
       SubmitButtonText="转到" 
       NumericButtonTextFormatString="[{0}]" OnPageChanged="AspNetPager1_PageChanged" FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页" SubmitButtonClass="input_button"></webdiyer:aspnetpager></div>
    </div>
    </form>
</body>
</html>
